/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.diplomka.webapp.world;

import cz.muni.fi.diplomka.servicelayer.dto.Tile;
import org.apache.wicket.model.IModel;

/**
 *
 * @author Jakub Kutil
 */
class DetachableTileModel implements IModel<Tile> {

    private Tile tile;

    public DetachableTileModel(Tile object) {
        this.tile = object;
    }

    @Override
    public Tile getObject() {
        return tile;
    }

    @Override
    public void setObject(Tile object) {
        this.tile = object;
    }

    @Override
    public void detach() {
    }
}
